/**
 * Created by ptt on 2016/5/27/0027.
 */
define(["./dataHandle.js"], function (handle) {
    //initial searchbox has bug for global value jQuery
    var searchbutton = $("#searchContain").find("button.js-search"),
        searchbox = $("#searchContain").find("input.js-search");
    searchbutton.attr("disabled", "true");

    //listener
    searchbox.on("keyup", handle.checkDisable);
    searchbox.on("focus", handle.defaultStyle);
});